import QtQuick
import QtQuick.Controls

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    RoundButton {
        anchors.centerIn: parent
        width: 64
        height: 64
        icon.source: "qrc:/icons/file.png"
        icon.width: 48
        icon.height: 48
        ToolTip.visible: hovered
        ToolTip.text: "新建文件"
        onClicked: console.log("create file ...")
    }
}
